<?php /* Smarty version 2.6.26, created on 2018-07-25 23:45:47
         compiled from D:%5Citemstudy%5Citem/member%5Ctemplates/bill/index.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'import', 'D:\\itemstudy\\item/member\\templates/bill/index.html', 1, false),)), $this); ?>
<?php echo $this->_plugins['function']['import'][0][0]->import(array('file' => "index/header_shop.html",'title' => "我的账单"), $this);?>
 
<style type="text/css">
label input{ margin:23px 5px 0 0; float:left;}
.mymn{ width:100%; padding:10px 0 20px 0; float:left; }
.mymn .l{ width:200px; float:left; }
.mymn span{ font-size:14px; float:left; width:100%; }
.mymn p{ width:100%; font-size:30px; color:#3D4557; font-weight:bold; float:left; } 
.mymn .r{ margin-top:20px; float:right; }
.mymn .r a{ border:1px solid #2EA5D3; background:#2EA5D3; color:#fff; padding:5px 12px; border-radius:3px; }
.mymn .r a.disabled{ border:1px solid #ddd; background:#fff; color:#999; padding:5px 12px; border-radius:3px; } 
</style>
<div class="tab_name"><span>交易账单</span></div>  
<div class="lbox">
	<div class="mymn"> 
		<div class="l">
			<span>交易金额</span>	
			<p><?php echo $this->_tpl_vars['sp_row']['order_price']; ?>
</p>
		</div> 
		<div class="l">
			<span>冻结余额</span>	
			<p><?php echo $this->_tpl_vars['sp_row']['frozen_price']; ?>
</p>
		</div>
		<div class="l">
			<span>可用余额</span>
			<p><?php echo $this->_tpl_vars['sp_row']['price']; ?>
</p>
		</div>  
	</div>
	<table class="ltable">
		<thead>
			<tr> 
				<th width="110">时间</th> 
				<th>订单号</th>
				<th width="70">状态</th> 
				<th width="70">支付</th>
				<th width="70">产品费</th>
				<th width="70">快递费</th>
				<th width="70">服务费</th>
				<th width="70">推广费</th> 
				<th width="70">收入</th>
				<th width="30">售后</th>
			</tr>
		</thead>
		<tbody>  
		<?php if ($this->_tpl_vars['data']['list']): ?>
			<?php $_from = $this->_tpl_vars['data']['list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['i']):
?>		 
				<tr>
					<td><?php echo $this->_tpl_vars['i']['receipt_time']; ?>
</td>  
					<td style="text-align:left; padding-left:10px;" title="<?php echo $this->_tpl_vars['i']['title']; ?>
"><?php echo $this->_tpl_vars['i']['order_no']; ?>
</td>
					<td><?php if ($this->_tpl_vars['i']['settle_status'] == '1'): ?>已结算<?php else: ?>未结算<?php endif; ?></td> 
					<td><?php echo $this->_tpl_vars['i']['price']; ?>
</td>
					<td><?php echo $this->_tpl_vars['i']['price_goods']; ?>
</td>
					<td><?php echo $this->_tpl_vars['i']['price_express']; ?>
</td>
					<td><?php echo $this->_tpl_vars['i']['price_service']; ?>
</td>
					<td><?php echo $this->_tpl_vars['i']['price_distribute']; ?>
</td> 
					<td><?php echo $this->_tpl_vars['i']['price_income']; ?>
</td> 
					<td><?php if ($this->_tpl_vars['i']['refund_status']): ?>是<?php else: ?>否<?php endif; ?></td>
				</tr>
			<?php endforeach; endif; unset($_from); ?> 
		<?php else: ?> 
			<tr><td colspan="8" class="btm"><div class="nomsg"><i></i><span>暂无交易账单~</span></div></td></tr> 
		<?php endif; ?>	
		</tbody> 
	</table> 
	<?php if ($this->_tpl_vars['data']['page']): ?>
		<div class="page"><?php echo $this->_tpl_vars['data']['page']; ?>
</div>
	<?php endif; ?> 	
</div>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "index/footer.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>